﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DAL;
namespace BLL
{
   public class JjProdBiz
    {
       JjProdDao jjProdDao = new JjProdDao();
        public bool Update(SortedDictionary<string, string> sdList)
        {
            return jjProdDao.Update(sdList);
        }
        public bool Insert(SortedDictionary<string, string> sdList)
        {          
            return jjProdDao.Insert(sdList);
        }
        public bool Delete(string proCode)
        {
            return jjProdDao.Delete(proCode);
        }
        public DataTable GetOneInfo(string proCode)
        {
            return jjProdDao.GetOneInfo(proCode);
        }
        public bool IsExist(string proCode)
        {
            return jjProdDao.IsExist(proCode);
        }
        public DataTable GetLists(string serWord, string statu)
        {
            return jjProdDao.GetLists(serWord, statu);
        }
       //用来绑定ddl
        public DataTable GetLists()
        {
            return jjProdDao.GetLists();
        }
    }
}
